﻿using BCCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace BCDto.Common.WebsiteConfiguration
{
    /// <summary>
    /// 站点配置信息更新模型
    /// </summary>
    public class WebsiteConfigurationPutDto
    {
        /// <summary>
        /// 网站名称
        /// </summary>
        [Display(Name = "网站名称")]
        [Required(ErrorMessage ="{0} 不能为空。")]
        public string WebsiteName { get; set; }
        /// <summary>
        /// 网站LOGO地址
        /// </summary>
        [Display(Name = "网站LOGO地址")]
        [Required(ErrorMessage = "{0} 不能为空。")]
        public string Logo { get; set; }
        /// <summary>
        /// 网站正方形Logo
        /// </summary>
        [Display(Name ="网站正方形Logo")]
        [Required(ErrorMessage ="{0} 不能为空。")]
        public string QuadrateLogo { get; set; }
        /// <summary>
        /// 网站域名
        /// </summary>
        [Display(Name = "网站域名")]
        [Required(ErrorMessage = "{0} 不能为空。")]
        [RegularExpression(RegexPatterns.DOMAIN_NAME,ErrorMessage ="{0} 格式错误，例如:http(s)://www.xxxx.com/,http(s)://xxx.xxx.中国/")]
        public string Host { get; set; }
        /// <summary>
        /// 网站关键字
        /// </summary>
        public string WebsiteKeyword { get; set; }
        /// <summary>
        /// 网站描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 背景图地址
        /// </summary>
        public string BackgroundImage { get; set; }
        /// <summary>
        /// 网站服务电话
        /// </summary>
        public string ServiceTelephone { get; set; }
        /// <summary>
        /// 微信二维码地址
        /// </summary>
        public string WeChatQRUrl { get; set; }
        /// <summary>
        /// 微信二维码名称
        /// </summary>
        public string WeChatQRName { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>
        public string CompanyName { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string CompanyAddress { get; set; }
        /// <summary>
        /// 公司坐标
        /// </summary>
        public string CompanyCoordinate { get; set; }
        /// <summary>
        /// 邮政编码
        /// </summary>
        public string CompanyZIP { get; set; }
        /// <summary>
        /// 公司邮箱
        /// </summary>
        public string CompanyEmail { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string Superintendent { get; set; }
        /// <summary>
        /// 负责人电话
        /// </summary>
        public string SuperintendentPhone { get; set; }
        /// <summary>
        /// 工作时间
        /// </summary>
        public string WorkingTime { get; set; }
        /// <summary>
        /// 网站ICP备案编号
        /// </summary>
        public string ICPNo { get; set; }
        /// <summary>
        /// 公安网备案编号
        /// </summary>
        public string PublicSecurityNo { get; set; }
    }
}
